package com.example.feignconsumer.service;

import com.example.helloserviceapi.service.HelloService;
import org.springframework.cloud.netflix.feign.FeignClient;

/**
 * Created by yxw on 2017/10/5.
 */
@FeignClient("hello-server")
public interface RefactorHelloService extends HelloService {

    /*@RequestMapping("/hello")
    String hello();


    @Override
    @RequestMapping(value = "/hello2", method= RequestMethod.GET)
    String hello(@RequestParam("name") String name);*/


    /*@RequestMapping(value = "hello3", method= RequestMethod.GET)
    User hello(String name, Integer age);

    @PostMapping(value = "hello4")
    String hello(@RequestBody User user);*/
}
